import {
	http
} from '@/utils/http'
export const createOrderAPI = data => {
	return http({
		method: 'POST',
		url: '/index/zddanbuxd',
		data
	})
}
//
export const plsqtuikuan = data => {
	return http({
		method: 'POST',
		url: '/order/plsqtuikuan',
		data
	})
}
export const getOrdersAPI = (params) => {
	return http({
		method: 'GET',
		url: `/order/orderlist?status=${params.status}&page=${params.page}&${params.hangshu}`,
	})
}